# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         test06
# Description:  例25.7
# Author:       ASUS
# Date:         2019/4/8
#-------------------------------------------------------------------------------


import pandas as pd
#值为同数据类型
s1 = pd.Series([43,56,65,32])
print(s1)
s2 = pd.Series([False,True])
print(s2)
#值为不同数据类型
s3 = pd.Series([43,12.4])
print(s3)
s4 = pd.Series([43,23.1,True,"Hello World"])
print(s4)

#改变第一列的索引
ss = pd.Series(['Bill Gates','微软创始人'],index=['Person','Who'])
print(ss)





